<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>文件操作配置详情</title>
<link href="../../static/plugin/easyui/themes/bootstrap/easyui.css" rel="stylesheet" type="text/css"/>
<link href="../../static/plugin/easyui/themes/icon.css" rel="stylesheet" type="text/css"/>
<link href="../../static/css/esaas-easyui-view.css" rel="stylesheet" type="text/css"/>
<script src="../../static/plugin/easyui/jquery.min.js" type="text/javascript"></script>
<script src="../../static/plugin/easyui/jquery.easyui.min.js" type="text/javascript" charset="utf-8"></script>
<script src="../../static/plugin/easyui/locale/easyui-lang-zh_CN.js" type="text/javascript"></script>
<script src="../../static/plugin/assets/jslib.util.js" type="text/javascript"></script>
<script src="../../static/plugin/assets/jslib.jquery.ajax.js" type="text/javascript"></script>
<script src="../../static/plugin/assets/jslib.easyui.util.js" type="text/javascript"></script>
<script src="../../ffres/dict/all.js" type="text/javascript"></script>
<a href="" target="_blank" id="commonLink" name="commonLink"></a>
</head>
<body class="easyui-layout">

	    <form id="ff" method="post">
	    	<div class="esaas-info-title">文件操作配置信息</div>
	    	<table class="esaas-info-view-table">
			<tr>
				<td width="15%" align="right">配置标识符：</td>
				<td width="35%"><input class="easyui-textbox" type="text"
					name="pluginConfId" data-options="required:true"
					style="width: 100%; height: 25px;"></input></td>
				<td width="15%" align="right">配置顺序：</td>
				<td width="35%"><input class="easyui-textbox" type="text"
					name="confSort" data-options="required:true"
					style="width: 100%; height: 25px;"></input></td>
			</tr>
			<tr>
				<td width="15%" align="right">文件操作：</td>
				<td width="35%"><input class="easyui-textbox" type="text"
					name="fileOp" data-options="required:false"
					style="width: 100%; height: 25px;"></input></td>
				<td width="15%" align="right">操作周期：</td>
				<td width="35%"><input class="easyui-textbox" type="text"
					name="opCycleDay" data-options="required:false"
					style="width: 100%; height: 25px;"></input></td>
			</tr>
			<tr>
				<td width="15%" align="right">上次操作日期：</td>
				<td width="35%"><input class="easyui-textbox" type="text"
					name="lastOpDate" data-options="required:false"
					style="width: 100%; height: 25px;"></input></td>
				<td width="15%" align="right">最后更新日期：</td>
				<td width="35%"><input class="easyui-textbox" type="text"
					name="lastModifyDate" data-options="required:false"
					style="width: 100%; height: 25px;"></input></td>
			</tr>
			<tr>
				<td width="15%" align="right">目标距离(天)：</td>
				<td width="35%"><input class="easyui-textbox" type="text"
					name="distanceDay" data-options="required:false"
					style="width: 100%; height: 25px;"></input></td>
				<td width="15%" align="right">目标文件：</td>
				<td width="35%"><input class="easyui-textbox" type="text"
					name="fileTarget" data-options="required:false"
					style="width: 100%; height: 25px;"></input></td>
			</tr>
	    	</table>
	    </form>
	    <div style="text-align:center;padding:15px">
			<a href="javascript:void(0)" class="easyui-linkbutton" onclick="closeForm()">&nbsp;关&nbsp;闭&nbsp;</a>
	    </div>
	</div>
	<script>	
		$(function() {
			var pluginConfId = $.getUrlParam('pluginConfId');
			var confSort = $.getUrlParam('confSort');
			$.restfulGet('../../api/plugin/fileop/conf/' + pluginConfId + '/' + confSort,null,function(data){
					$('#ff').form('load', {
						pluginConfId : data.rows.pluginConfId,
						confSort : data.rows.confSort,
						fileOp : data.rows.fileOp,
						opCycleDay : data.rows.opCycleDay,
						lastOpDate : data.rows.lastOpDate,
						lastModifyDate : data.rows.lastModifyDate,
						distanceDay : data.rows.distanceDay,
						fileTarget : data.rows.fileTarget
					});					
			});
		});
		function closeForm(){
			window.parent.JLEUtil.closewin();
		}
	</script>
</body>
</html>